package com.edgar.baselibrary.network;

/**
 * Created by edgar on 2016/1/22.
 */
public class ResponseException extends Exception{
    private int errorCode;
    public ResponseException(String message, Throwable e){
        super(message,e);
    }

    public ResponseException(int errorCode,String message){
        super(message);
        this.errorCode = errorCode;
    }

    public int getErrorCode(){
        return errorCode;
    }
}